var t = getApp();

Page({
    data: {
        id: "",
        lawyerId: ""
    },
    onLoad: function(t) {
        t.dataId && this.setData({
            lawyerId: t.dataId
        }), this.setData({
            id: t.id
        });
    },
    postForm: function(a) {
        var n = {
            form_data: a.detail,
            form_id: this.data.id
        };
        t._postNetWork({
            url: t.getNetAddresss("plugin.lawyer-platform.frontend.controllers.diy-form.saveData"),
            data: n,
            success: function(a) {
                1 == a.data.result ? (t.tips(a.data.msg), wx.navigateBack()) : t.tips(a.data.msg);
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});